package net.hn.hnms.biz.safety.fire.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/1
 */
@Data
@Entity
@Table(name = "ods_sgjc_now_sensormonitor")
public class ODSSensorMonitor {

    @ApiModelProperty(value = "束管信息ID")
    @TableId(value = "id")
    @Id
    private String id;

    @Column(name = "mine_name")
    @ApiModelProperty(value = "煤矿名称")
    private String mineName;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "sampling_time")
    @ApiModelProperty(value = "采集时间")
    private Date samplingTime;

    @Column(name = "sampling_location")
    @ApiModelProperty(value = "采集地点")
    private String samplingLocation;

    @Column(name = "sampling_location_code")
    @ApiModelProperty(value = "采集地点编码")
    private String samplingLocationCode;

    @Column(name = "o2_value")
    @ApiModelProperty(value = "o2采集数据")
    private String o2Value;
    @Column(name = "n2_value")
    @ApiModelProperty(value = "n2采集数据")
    private String n2Value;
    @Column(name = "ch4_value")
    @ApiModelProperty(value = "ch4采集数据")
    private String ch4Value;
    @Column(name = "co2_value")
    @ApiModelProperty(value = "co2采集数据")
    private String co2Value;
    @Column(name = "co_value")
    @ApiModelProperty(value = "co采集数据")
    private String coValue;
    @Column(name = "c2h4_value")
    @ApiModelProperty(value = "c2h4采集数据")
    private String c2h4Value;
    @Column(name = "c2h6_value")
    @ApiModelProperty(value = "c2h6采集数据")
    private String c2h6Value;
    @Column(name = "c2h2_value")
    @ApiModelProperty(value = "c2h2采集数据")
    private String c2h2Value;
    @Column(name = "c3h8_value")
    @ApiModelProperty(value = "c3h8采集数据")
    private String c3h8Value;
    @Column(name = "wxb_value")
    @ApiModelProperty(value = "wxb采集数据")
    private String wxbValue;

    @Column(name = "state")
    @ApiModelProperty(value = "异常数据类型")
    private String state;
}
